|
|
On Fri, 21 Dec 2001 14:40:58 -0000, "Tom Melly" <tom### [at] tomandlucouk> wrote:
> what function would return 1 when x = 0 but 0 when abs(x)>=1 ?
#include "math.inc"
#declare f_for_tom=function(x){clip(1-abs(x),0,1)}
is it good ?
ABX
Post a reply to this message
|
|